<template>
    <div class="lession-item">
        <div class="title">{{lessionTitle}}</div>
        <div>
            <i :class="['iconfont','pic',lessionIcon]"></i>
        </div>
    </div>
</template>

<script>
export default {
    props:['lessionTitle','lessionIcon']
}
</script>

<style lang="scss">
    .lession-item{
        color:#999;
        flex-direction: column;
        margin: 10px;
        width: 190px;
        height: 190px;
        background-color: #fff;
        border-radius: 10px;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        .pic{
            margin-top:30px ;
            font-size: 49px;
            &:hover{
                color:tomato
            }
        }
    }
</style>